 /**
 * Description: 物资出库记录
 * @author:Hunter
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-04-08   Hunter       1.0.0     Initial
 */
package com.metro.paperless.app.beans.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.metro.core.beans.entity.BaseEntity;
import java.util.Date;
import com.metro.utils.DateUtil;
 /**
 * 物资出库记录<br>
 *
 * @author:Hunter
 * @since:1.0.0
 * @version [1.0.0, 2018-04-08]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class AppMaterialsOutEntity extends BaseEntity{
    private static final long serialVersionUID=1L;
    //单号
    private String outCode;
    //主题
    private String outTitle;
    //来往单位名称
    private String orgName;
    //来往单位ID
    private Long orgId;
     //单位类型
     private String orgType;
    //发放单位名称
    private String grantOrgName;
    //发放单位ID
    private Long grantOrgId;
    //经办人
    private String agentName;
    //发起时间
    private Date actionTime;
    //出库时间
    private Date outTime;
    //出库状态
    private String outStatus;
     //签名
     private String signName;
     //备注
     private String remark;
     //作废原因
     private String invalidRemark;


    public String getActionTimeStr() {
        return DateUtil.limitMinute(this.actionTime);
    }
    public String getOutTimeStr() {
        return DateUtil.limitMinute(this.outTime);
    }

}
